from flask import Blueprint
from flask import jsonify

main_bp = Blueprint('main', __name__)

@main_bp.route('/api/test')
def test_api():
    return jsonify({'status': 'success', 'message': 'API连接测试成功'})